import type MiniBpmnService from "../service";
import type BpmnPanelService from "../components/Panel/service";

class DI {
  // 手动注入
  declare root: MiniBpmnService;
  bindBpmnService(root: MiniBpmnService) {
    this.root = root;
  }

  // 手动注入
  declare panel: BpmnPanelService;
  bindPanelService(panel: BpmnPanelService) {
    this.panel = panel;
  }

   // 手动注入
   declare parent: unknown;
   bindParent(parent: unknown) {
     this.parent = parent;
   }
}

export default DI;